IN THIS PAPER A SECURE AGENT SERVER NAMED JSAS IS INTRODUCED. J-SAS HAS AN AGENT VIRTUAL MACHINE WITH THE SIMILAR FUNCTIONS AS A TRADITIONAL HOST MACHINE.BY ASSIGNING PASSPORT TO AGENTS, AUTHENTICATION, VERIFICATION OF PASSPORTS, AND TRANSLATION OF CODE TO SAFE VERSION, J-SAS PROVIDES A SECURE ENVIRONMENT FOR EXECUTING THE AGENTS. USING RESOURCE ALLOCATION ALGORITHMS, ACL AND AUTHENTICATION, J-SAS SHOWS A GOOD DEFENSIVE MOOD AGAINST UNAUTHORIZED READ/ WRITE, DENIAL OF SERVICE, AND MASQUERADING ATTACKS.